package com.ykq.feign;

import com.ykq.entity.Permission;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @program: tui-education
 * @description:
 * @author: 闫克起
 * @create: 2022-04-13 10:40
 **/
@FeignClient(value = "education-system")
public interface PermissionFeign {

    @GetMapping("/system/api/permission/getPermissionByUserid/{userid}")
    public List<Permission> getPermissionByUserid(@PathVariable String userid);

}
